﻿using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Furion.CMS.Application.Dto
{
    /// <summary>
    /// 本地上传模型
    /// </summary>
    public class UploadModel
    {
        /// <summary>
        /// 上传的文件对象
        /// </summary>
        public IFormFile File { get; set; }
        /// <summary>
        /// 存放文件夹
        /// </summary>
        public string Dir { get; set; }
        /// <summary>
        /// 是否重名
        /// </summary>
        public bool Rename { get; set; }
    }
}
